package com.enterprise.support.utility;

/**
 * Created by IntelliJ IDEA.
 * User: Zhanggaojiang
 * Date: 11-11-16
 * Time: 上午10:43
 * Email: z82422@gmail.com
 * 通用 常量类
 */
public class Constants {

    /**
     * Web层
     */
    /*================== Web Session 中常量：当前登录用户，当前登录管理员,记住用户选项 ==================*/
    public final static String WEB_SESSION_USER_KEY = "web_session_user_key";
    public final static String WEB_SESSION_ADMIN_KEY = "web_session_admin_key";
    public final static String WEB_SESSION_COOKIE_REMENBER_USER_KEY = "web_session_cookie_remenber_key";

    /**
     * 业务审核常量
     */
    /*==================审核状态：未审核/审核通过/审核不通过==================*/
    public final static Integer AUDITING_STATUS_INIT = 1;
    public final static Integer AUDITING_STATUS_SUCCESS = 2;
    public final static Integer AUDITING_STATUS_FIAL = 3;

    /**
     * 男女常量
     */
    /*==================女，男================================================*/
    public final static Integer PERSON_SEX_WOMAN = 1;
    public final static Integer PERSON_SEX_MAN = 2;

    /**
     * 状态 定义
     */
    /*==================启用，禁用，删除======================================*/
    public final static Integer STATUS_ENABLE = 1;
    public final static Integer STATUS_DISABLED = 2;
    public final static Integer STATUS_DELETE = 3;

    /**
     * 用户/公司 来源 定义
     */
    /*==================通过网站注册，采集生成=================================*/
    public final static Integer ORGIN_WEB_REGISTER = 1;
    public final static Integer ORGIN_FETCH_GENERATE = 2;

}
